config BR2_PACKAGE_QT5DECLARATIVE
	bool "qt5declarative"
	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
	select BR2_PACKAGE_QT5XMLPATTERNS
	select BR2_PACKAGE_QT5BASE
	select BR2_PACKAGE_QT5BASE_GUI
	help
	  Qt is a cross-platform application and UI framework for
	  developers using C++.

	  Qt Declarative module provides the Qt QML and Qt Quick
	  modules for developing UIs with the QML language

	  http://doc.qt.io/qt-5/qtqml-index.html
	  http://doc.qt.io/qt-5/qtquick-index.html

if BR2_PACKAGE_QT5DECLARATIVE

comment "quick module needs an OpenGL-capable backend"
	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE && !BR2_PACKAGE_QT5_VERSION_LATEST

config BR2_PACKAGE_QT5DECLARATIVE_QUICK
	bool "quick module"
	depends on BR2_PACKAGE_QT5_GL_AVAILABLE || BR2_PACKAGE_QT5_VERSION_LATEST
	select BR2_PACKAGE_QT5BASE_OPENGL if BR2_PACKAGE_QT5_GL_AVAILABLE

endif
